package response

import (
	"server/common/dto/response"
	"server/enumeration"
)

type MenuResponse struct {
	response.BaseResponse
	ParentID  string                `json:"parentId"`
	Level     enumeration.MenuLevel `json:"level"`
	LevelName string                `json:"levelName"`
	Path      string                `json:"path"`
	Name      string                `json:"name"`
	Code      string                `json:"code"`
	Url       string                `json:"url"`
	Icon      string                `json:"icon"`
	IsRouter  bool                  `json:"isRouter"`
	KeepAlive bool                  `json:"keepAlive"`
	IsHidden  bool                  `json:"isHidden"`
	Children  []MenuResponse        `json:"children"`
}
